using System;
using System.Collections.Generic;
using System.Text;

namespace ThatsMeSDK
{
	/// <summary>
	/// Defines a Message (Briefli)
	/// </summary>
	public class Message
	{
		/// <summary>
		/// Header Informationen der Message
		/// </summary>
		public MessageHeader Header{get; set;}
		
		/// <summary>
		/// Content of the message
		/// </summary>
		public string Body{get; set;}
		
		/// <summary>
		/// Checked if is sent by a mobile device
		/// </summary>
		public bool IsSentFromMobile{get; set;}
		/// <summary>
		/// Checked if is a notification
		/// </summary>
		public bool IsNotification{get; set;}
		
		/// <summary>
		/// Source Message, is null if not available
		/// </summary>
		public SourceMessage Source{get; set;}
		
		/// <summary>
		/// Defines a Source Message
		/// </summary>
		public class SourceMessage
		{
			/// <summary>
			/// Checked if is forum post
			/// </summary>
			public bool IsForumPost{get; set;}
			
			/// <summary>
			/// Content of the source message
			/// </summary>
			public string Body{get; set;}
			
			public SourceMessage(bool isforumpost, string body)
			{
				
			}
		}
	}
}
